package com.kayt.cyberBar.company.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.company.business.entity.vo.CompanyBaseRankVO;
import com.kayt.cyberBar.company.business.entity.vo.CompanyRankQueryVO;

@Path("/rank")
@Produces({"application/json","application/xml"})
@Consumes({"application/json"})
public interface ICompanyBaseRankService {

	@POST
	@Path("addRank.do")
	public ServerResponse<CompanyBaseRankVO> addRank();

	@GET
	@Path("deleteRank.do")
	public ServerResponse<String> deleteRank(String rankId);

	@POST
	@Path("updateRank.do")
	public ServerResponse<String> updateRank(CompanyBaseRankVO reqVo);

	@GET
	@Path("getRank.do")
	public ServerResponse<CompanyBaseRankVO> getRank(@QueryParam("id")String rankId);

	@GET
	@Path("getRankList.do")
	public ServerResponse<PageData<CompanyBaseRankVO>> getRankList(@QueryParam("")CompanyRankQueryVO query);

}
